//导入组件
import shoping from "@/views/shoping"

const shopingRouter=[
	//书写路由规则
	{	
		path:"/shoping",
		component:shoping,
	},
	{
		// 重定向
		path:"/",
		redirect:"/shoping"
	}
]

//使用es6导出语法
export default  shopingRouter;
